package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: erp
 * @description: 客户信息搜索类
 * @author: LC
 * @create: 2021-12-03 14:50
 */

@ApiModel("客户搜索类")
public class CustomerSearch extends Customer {

    @ApiModelProperty(name = "importStartForSearch",notes = "导入开始时间条件",dataType = "String",required = false)
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String importStartForSearch;

    @ApiModelProperty(name = "importEndForSearch",notes = "导入结束时间条件",dataType = "String",required = false)
    private String importEndForSearch;

    @ApiModelProperty(name = "updateStartForSearch",notes = "最后更新开始时间条件",dataType = "String",required = false)
    private String updateStartForSearch;

    @ApiModelProperty(name = "updateEndForSearch",notes = "最后更新结束时间条件",dataType = "String",required = false)
    private String updateEndForSearch;

    public String getImportStartForSearch() {
        return importStartForSearch;
    }

    public void setImportStartForSearch(String importStartForSearch) {
        this.importStartForSearch = importStartForSearch;
    }

    public String getImportEndForSearch() {
        return importEndForSearch;
    }

    public void setImportEndForSearch(String importEndForSearch) {
        this.importEndForSearch = importEndForSearch;
    }

    public String getUpdateStartForSearch() {
        return updateStartForSearch;
    }

    public void setUpdateStartForSearch(String updateStartForSearch) {
        this.updateStartForSearch = updateStartForSearch;
    }

    public String getUpdateEndForSearch() {
        return updateEndForSearch;
    }

    public void setUpdateEndForSearch(String updateEndForSearch) {
        this.updateEndForSearch = updateEndForSearch;
    }

    @Override
    public String toString() {
        return "CustomerSearch{" +
                "importStartForSearch=" + importStartForSearch +
                ", importEndForSearch=" + importEndForSearch +
                ", updateStartForSearch=" + updateStartForSearch +
                ", updateEndForSearch=" + updateEndForSearch +
                '}';
    }
}